// test message request api
const http = uni.$u.http;

//获取咨资讯轮播图
export function newsBanner() {
	return http.get('/api/v6/StarsBanner/list?banner_type=2')
}
//获取咨资讯通知
export function newsNotice() {
	return http.get('/api/v6/Notice/list?type=3')
}
//获取咨资讯分类
export function newsCate() {
	return http.get('/api/v6/newsCate/list')
}
//获取咨资讯列表
export function newsList(params) {
	return http.get('/api/v6/news/list',{
		params
	})
}
//获取咨资讯详情
export function newsInfo(params) {
	return http.get('/api/v6/news/info',{
		params
	})
}
